﻿<%@ Page Title="" Language="C#" MasterPageFile="~/HomePage.master" AutoEventWireup="true"
    CodeFile="ChuDe.aspx.cs" Inherits="ChuDe" %>

<%@ Register Assembly="PagerControl" Namespace="CutePager" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title>
        <asp:Literal runat="server" ID="litTieude"></asp:Literal>
        |
        <%=Common.home %></title>
    <script type="text/javascript" src="../fmslideshow_assets/jquery-1.6.2.min.js"></script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="Server">
    <dx:Gocchuyengia runat="server" ID="gocchuyengia" />
    <dx:BlogMod runat="server" ID="blog"/>    
    <dx:SachMod runat="server" ID="sach"/>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:HiddenField ID="H_PageCount" Value="0" runat="server" />
    <asp:HiddenField ID="H_SubTin" Value="0" runat="server" />
    <asp:HiddenField ID="H_CatalogId" Value="0" runat="server" />
    <asp:Panel ID="panelnhom" runat="server">
        <span class="path_chude">
            <asp:HyperLink ID="Hyperlink13" CssClass="icon_sub" runat="server" NavigateUrl="~/">Trang chủ</asp:HyperLink>
        </span><span class="path_chude">
            <asp:HyperLink ID="Hyperlink2" CssClass="icon_sub" runat="server" NavigateUrl="#">
                <asp:Label ID="lblNhomTintop" runat="server" Text=""></asp:Label>
            </asp:HyperLink></span> <span class="path_chude">
                <asp:HyperLink ID="Hyperlink3" CssClass="icon_sub" runat="server" NavigateUrl="#">
                    <asp:Label ID="lblSubNhomTin" runat="server" Text=""></asp:Label>
                </asp:HyperLink></span>
    </asp:Panel>
    <asp:Panel ID="panelnhom2" runat="server">
        <span class="path_chude">
            <asp:HyperLink ID="Hyperlink1" CssClass="icon_sub" runat="server" NavigateUrl="~/">Trang chủ</asp:HyperLink>
        </span><span class="path_chude">
            <asp:HyperLink ID="Hyperlink5" CssClass="icon_sub" runat="server" NavigateUrl="#">
                <asp:Label ID="lblsubnhom2" runat="server" Text=""></asp:Label>
            </asp:HyperLink></span>
    </asp:Panel>
    <div class="detail_content">
        <div class="detail_content_top">
            <h3 class="title_detail_content">
            </h3>
        </div>
        <asp:UpdatePanel ID="UpdatePanel20" runat="server">
            <ContentTemplate>
                <div class="detail_content_mid">
                    <div class="detail_content_mid_content">
                        <div class="detail_content_2tin">
                            <div class="detail_content_big">
                                <asp:DataList ID="dlChuDe" OnItemDataBound="dlFromTrades_ItemDataBound" runat="server"
                                    RepeatColumns="2" RepeatDirection="Horizontal" Width="100%">
                                    <ItemTemplate>
                                        <div style="padding-right: 20px">
                                            <asp:HiddenField ID="H_CatalogId" Value='<%# Eval("Id") %>' runat="server" />
                                            <asp:HyperLink ID="Hyperlink1" runat="server" NavigateUrl='<%#"~/tintuc/" + Eval("Id") + "_" + GetTieuDe(Eval("TieuDe")) + ".aspx"%>'>
                                                <asp:Image runat="server" Width="270" Height="181" ID="Image2" BorderWidth="1" CssClass="show_images"
                                                    ImageUrl='<%# Common.sPathAnhDaidien + Eval("AnhDaiDien") %>' />
                                            </asp:HyperLink>
                                            <p class="ngaygoitin">
                                                Gửi vào lúc
                                                <asp:Label ID="lblNgay" runat="server" Text='<%# GetNgay(Eval("NgayCapNhat")) %>'></asp:Label>
                                            </p>
                                            <p class="title_detail_content_big" style="height: 50px">
                                                <asp:HyperLink ID="HyperLink9" NavigateUrl='<%#"~/tintuc/" + Eval("Id") + "_" + GetTieuDe(Eval("TieuDe")) + ".aspx"%>'
                                                    runat="server"><%# Eval("TieuDe") %></asp:HyperLink></p>
                                            <p class="detail_content_big_content" style="text-align: justify; height: 80px">
                                                <%# Eval("TomTat") %></p>                                            
                                        </div>
                                    </ItemTemplate>
                                </asp:DataList>
                            </div>
                        </div>
                        <div class="detail_content_nhieutin">
                            <div class="detail_content_small">
                                <asp:DataList ID="dlChudeall" OnItemDataBound="dlFromTrades_ItemDataBound" runat="server"
                                    RepeatColumns="1" RepeatDirection="Horizontal" Width="100%">
                                    <ItemTemplate>
                                        <asp:HiddenField ID="H_CatalogId" Value='<%# Eval("Id") %>' runat="server" />
                                        <asp:HyperLink ID="Hyperlink1" runat="server" NavigateUrl='<%#"~/tintuc/" + Eval("Id") + "_" + GetTieuDe(Eval("TieuDe")) + ".aspx"%>'>
                                            <asp:Image runat="server" Width="166" Height="133" ID="Image2" BorderWidth="1" CssClass="show_images"
                                                ImageUrl='<%# Common.sPathAnhDaidien + Eval("AnhDaiDien") %>' />
                                        </asp:HyperLink>
                                        <div class="detail_content_small_right">
                                            <span class="title_detail_content_small">
                                                <asp:HyperLink ID="HyperLink9" NavigateUrl='<%#"~/tintuc/" + Eval("Id") + "_" + GetTieuDe(Eval("TieuDe")) + ".aspx"%>'
                                                    runat="server"><%# Eval("TieuDe") %></asp:HyperLink></span>
                                            <p class="ngaygoitin">
                                                Gửi vào lúc
                                                <asp:Label ID="lblNgay" runat="server" Text='<%# GetNgay(Eval("NgayCapNhat")) %>'></asp:Label></p>
                                            <p class="detail_content_small_content" style="text-align: justify;">
                                                <%# Eval("TomTat") %></p>
                                        </div>                                        
                                    </ItemTemplate>
                                </asp:DataList>
                            </div>
                            <cc1:Pager ID="Pager1" runat="server" Visible="false" PreviousClause="" NextClause=""
                                LastClause="" FirstClause="" PageClause="Trang" OfClause="/" PageSize="10" OnCommand="Pager1_Command">
                            </cc1:Pager>
                        </div>
                    </div>
                    <!--End #detail_content_mid_content-->
                </div>
                <!--End #detail_content_mid-->
                <div class="detail_content_bottom" style="text-align: right">
                    <asp:ImageButton ID="cmdPrevious" ImageUrl="~/Images/xemtruoc.png" runat="server"
                        OnClick="cmdPrevious_Click" />
                    <asp:ImageButton ID="cmdNext" ImageUrl="~/Images/xemtiep.png" runat="server" OnClick="cmdNext_Click" />
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
    <!--End #content-->
</asp:Content>
